package colbert.content.genericInterface;

public class TeacherData implements Data<Teacher> {
    @Override
    public void add(Teacher teacher) {
        System.out.println("添加教师");
    }

    @Override
    public void delete(Teacher teacher) {
        System.out.println("删除教师");
    }

    @Override
    public void update(Teacher teacher) {
        System.out.println("更新教师");
    }

    @Override
    public Teacher query(int id) {
        System.out.println("查询教师");
        return new Teacher();
    }
}
